<!DOCTYPE html>
<html lang="en" manifest="offline6.manifest">
<head>
	<meta charset="UTF-8">
	<title>离线存储</title>
	<script type="text/javascript" src="js/jquery-1.11.2.js"></script>
	<script type="text/javascript">

		var db = window.openDatabase("chinaDay","1.0","doramart",20000);

		db.transaction(function(tx){
			tx.executeSql("CREATE TABLE dora(id int,title text)");
		})

		db.transaction(function(tx){
			tx.executeSql("insert into dora (title) values(?)",["this is a test"]);
		})


		db.transaction(function(tx){
			tx.executeSql("select * from dora",[],function(x,tx){
				for(var i=0;i<tx.rows.length;i++)
				{
					document.write(tx.rows.item(i)["title"] + "<br>");
				}
			},function(){

			})
		})

	</script>
</head>
<body>
	<div><p>谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编辑框回归测试谷歌浏览器编This is a test</p></div>



</body>
</html>